@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="companyType" value="${item.companyType}" name="companyType">
            <input type="hidden" id="winType" value="${item.winType}" name="winType">
            <input type="hidden" id="contestType" value="${item.contestType}" name="contestType">

            <div class="row">
                <div class="col-sm-6 b-r">
                    @if('000000' == item.empCode){
                        <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ContestPointsInfoDlg.selectEmp($(this))" underline="true"/>
                    @}else{
                     <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ContestPointsInfoDlg.selectEmp()" disabled="true" underline="true"/>
                    @}


                    <#YearConInput id="year" name="年度" isTime="false" value="${item.year}" underline="true"/>
                    <#select id="contestTypeCode" value="${item.contestTypeCode}" name="竞赛类型" underline="true">
                        @ for(contest in contestRules!){
                        <option value="${contest.contestTypeCode}">${contest.contestType}</option>
                        @}
                    </#select>

                    <#input id="integral" disabled="true" value="${item.integral}" name="积分" underline="true"/>


                </div>

                <div class="col-sm-6">
                    <#input id="empName" value="${item.empName}" disabled="true" name="员工姓名" underline="true"/>


                    <#select id="companyTypeCode" value="${item.companyTypeCode}" name="公司级别" underline="true">
                        @ for(company in companyLists!){
                        <option value="${company.companyLevelCode}">${company.companyLevel}</option>
                        @}
                    </#select>
                    <#select id="winTypeCode" value="${item.winTypeCode}" name="获奖类型" underline="true">
                        @ for(win in winRules!){
                        <option value="${win.winTypeCode}">${win.winType}</option>
                        @}
                    </#select>



                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ContestPointsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ContestPointsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/contestPoints/contestPoints_info.js?v=${version}"></script>
@}
